<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<img src="/images/1.jpeg"/>

<form action="/sb/file/upload/" enctype="multipart/form-data" method="post">
    <input type="file" name="multipartFile">
    <button>提交</button>
</form>

<h2>文件下载</h2>
<form action="/sb/file/download" enctype="multipart/form-data" method="post">
    <table>
        <tr>
            <td>文件名称:</td>
            <td><input type="text" name="filename"></td>
        </tr>
        <tr><td colspan="2"> <input type="submit" name="提交"></td></tr>
    </table>
</form>
</body>
</html>